package com.wenhai.regex.assertion;

/**
 * 断言：行的开始或者结尾 ^ $
 *
 * @author wenhai
 * @date 2020/7/14
 */
public class RowStartOrEnd {
    public static void main(String[] args) {

        String OUT_WAREHOUSE = "A04,KL01,PW9015,PW9020";
        if (OUT_WAREHOUSE.contains("A04")) {
            System.out.println("1231");
        }
    }
}
